﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using DevExpress.Xpf.Editors;

namespace sLightLibrary.BasicApp.Views.Controls.DataControls
{
    public partial class myListBoxEdit:ListBoxEdit
    {        
        public void AddCheckBoxItem(CheckEdit checkBox)
        {
            checkBox.Background = new SolidColorBrush(Colors.Blue);
            this.Items.Add(checkBox);
        }
        public void AddCheckBoxItem(CheckEdit checkBox,int pos)
        {
            checkBox.Background = new SolidColorBrush(Colors.Blue);
            this.Items.Insert(pos,checkBox);
        }
        public void AddLabel(TextBlock lb)
        {
            this.Items.Add(lb);
        }
    }
}
